﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace 计科2015_31
{
    public partial class 实验2_3_1_ : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        protected void Button1_Click(object sender, EventArgs e)
        {
            if (TextBox1.Text != null)
                Session["Name"] = TextBox1.Text;
            if (Session["Name"] != null)
            {
                Response.Redirect("实验2-3（2）.aspx");
            }

        }

    }
}